package com.learing.groupChat.packet;

import com.learing.codec.protocol.Packet;
import lombok.Data;

import static com.learing.Command.LOGIN_REQUEST;

@Data
public class LoginRequestPacket extends Packet {
    private String userName;

    private String password;

    @Override
    public Byte getCommand() {

        return LOGIN_REQUEST;
    }
}
